package com.lin.manager.notice.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author linjiang
 * @date 2024/8/19
 * @fn
 */
@Data
@ApiModel("通知公告 -- 实体DTO")
public class NoticeUserDTO {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("1-普通发送，2-定时发送")
    private Integer sendStatus;
    @ApiModelProperty("计划发送时间（定时发送触发条件）")
    private String planTime;
    @ApiModelProperty("发送时间")
    private Date sendTime;
    @ApiModelProperty("0-草稿，1-已发送，2-已撤回，")
    private Integer status;
    @ApiModelProperty("1-系统通知，2-短信通知，3-邮件通知")
    private Integer type;
    @ApiModelProperty("创建人")
    private String createUserName;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("接收人")
    private String reciveUserName;
    @ApiModelProperty("0-未读，1-已读")
    private Integer state;
}
